$OpenBSD: patch-gcc_config_mips_mips_h,v 1.2 2015/07/19 21:22:49 pascal Exp $
--- gcc/config/mips/mips.h.orig	Thu Feb 26 11:40:06 2015
+++ gcc/config/mips/mips.h	Sat Jun 27 11:26:33 2015
@@ -1241,7 +1241,9 @@ FP_ASM_SPEC "\
 #define SUBTARGET_CPP_SPEC ""
 #endif
 
+#ifndef CPP_SPEC
 #define CPP_SPEC "%(subtarget_cpp_spec)"
+#endif
 
 /* This macro defines names of additional specifications to put in the specs
    that can be used in various specifications like CC1_SPEC.  Its definition
